//
//  RNTextView.h
//  iOS UI Sample Code
//
//  Created by 규성 이 on 12. 2. 20..
//  Copyright (c) 2012년 kkamci77@gmail.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RNTextView : UIView
{
    UITextView * tvInput;
    UIButton * bClear;
    UIImageView * ivBackground;
}

@property (strong, nonatomic) UITextView * tvInput;
@property (strong, nonatomic) UIButton * bClear;
@property (strong, nonatomic) UIImageView * ivBackground;

-(void)initUIWithFrame:(CGRect)frame;
- (CGSize)getContentSizeofTextView;
-(void)setTextViewDelegate:(id<UITextViewDelegate>)dg;
-(void)setTagOfTextView:(NSInteger)tag;
-(void)addButtonTarger:(id)object action:(SEL)selector forControlEvents:(UIControlEvents) event;
-(void)clearButtonAction;

@end
